package com.lonely.inventory.service;

import cn.hutool.core.lang.Tuple;
import com.lonely.inventory.domain.entity.SysSurplusInventory;
import com.lonely.inventory.domain.entity.SysSurplusInventorySizeInfo;

import java.util.List;
import java.util.Map;

/**
 * @author : 黄志标
 * @date: 2025/9/19 10:02
 * @description: 尾货库存日志服务类
 */
public interface ISurplusInventoryLogService {

    /**
     * 新增尾货库存接口的日志
     *
     * @param sysSurplusInventory
     * @param sysSurplusInventorySizeInfos
     */
    void addSurplusInventoryLog(SysSurplusInventory sysSurplusInventory, List<SysSurplusInventorySizeInfo> sysSurplusInventorySizeInfos);

    /**
     * 更新尾货库存接口的日志
     *
     * @param surplusInventory
     * @param comparisonData
     */
    void editSurplusInventoryLog(SysSurplusInventory surplusInventory, Map<String, Tuple> comparisonData);

    /**
     * 上架尾货库存接口的日志
     *
     * @param sysSurplusInventory
     * @param sysSurplusInventorySizeInfos
     */
    void putAwaySurplusInventoryLog(SysSurplusInventory sysSurplusInventory, List<SysSurplusInventorySizeInfo> sysSurplusInventorySizeInfos);
}
